package com.nwpu.server.learning.service.impl;

import com.nwpu.server.learning.service.RedisService;
import com.nwpu.server.learning.util.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Author: YuXingZh
 * @Date: Created in 16:53 2022-05-08
 * @Description:
 */
@Service("redisService")
public class RedisServiceImpl implements RedisService {
    @Autowired
    RedisUtils redisUtils;

    @Override
    public Map<Object, Object> getGeneRelationship() {
        Map<Object, Object> geneRelationship = RedisUtils.hGetEntries("geneRelationship");
        return geneRelationship;
    }
}
